package cn.sxy.mybatis.mapping;

import cn.sxy.mybatis.transaction.TransactionFactory;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;

import javax.sql.DataSource;

/***
 * 环境：事务，数据源
 */
@Builder
@Data
@AllArgsConstructor
public class Environment {

    private  final String id;

    private final TransactionFactory transactionFactory;

    private final DataSource dataSource;

}
